package com.qzct.service.impl;

import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.qzct.entity.AttractionImgs;
import com.qzct.mapper.AttractionImgsMapper;
import com.qzct.service.AttractionImgsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 *  服务层实现。
 *
 * @author 闽闽
 * @since 2025-01-11
 */
@Service
public class AttractionImgsServiceImpl extends ServiceImpl<AttractionImgsMapper, AttractionImgs> implements AttractionImgsService {

    @Autowired
    AttractionImgsMapper attractionImgsMapper;
    @Override
    public ArrayList<AttractionImgs> getByCid(int id) {
        return attractionImgsMapper.getByCid(id);
    }
}
